@media screen and (max-width: 768px) {
  .ant-layout {
    width: 100vw;
    height: 100vh;
    background: url("@/assets/img/bg.png") no-repeat;
    background-size: cover;

    .ant-layout-header {
      background: transparent;
      font-size: 0.5rem;
      font-family: "标题黑";
      font-size: .45rem;
      text-align: center;
    }

    .loginCard {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      width: 5rem;
      height: 6rem;
    }
  }

  .codeImg {
    width: 30%;
    height: 100%;
    cursor: pointer;
  }
}